<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="x-rim-auto-match" content="none">
    <meta http-equiv="expires" content="-1">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <script type="text/javascript" src="../../script/jquery.min.js"></script>
<title>处理结果</title>
<script type="text/javascript">	
$(document).ready(function() {	
	var result=GetQueryString(location.href, "result");
	if("00"==result){
		$("#abc").html("交易成功");  
	}else if("97"==result){
		$("#abc").html("交易已关闭");  
	}else if("98"==result){
		$("#abc").html("交易未知");  
	}
	
});
function GetQueryString(thisUrl, name) {
    thisUrl = thisUrl + "";
    if (thisUrl.indexOf("?") != -1) {
        var thisUrlSearch = thisUrl.substr(thisUrl.indexOf("?"));
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
        var r = thisUrlSearch.substr(1).match(reg);
        if (r != null) {
            return  decodeURI(r[2]);
        }
        return null;
    }
    return null;
}

</script>
<style type="text/css">
.pay-desc{text-align:center;width:100%;margin-top:2rem;}
 .f20{ font-size: 2.0rem}
.f-number{color:#333}
</style>
</head>

<body>
<div class="pay-desc f20 f-number">
<strong id="abc"></strong>
</div>
</body>
</html>